# from django.utils.deprecation import MiddlewareMixin
#
#
# class CORSMiddleWare(MiddlewareMixin):
#     def process_response(self, request, response):
#         if request.method == 'OPTIONS':
#             response['Access-Control-Allow-Headers'] = '*'
#         response['Access-Control-Allow-Origin'] = '*'
#         return response
